﻿using System;
using System.Collections.Generic;
using System.Text;
using Model.RF.TestRecord;

namespace IDAL.RF.TestRecord 
{
    public interface ITest_Record : IBaseRepository<Test_RecordInfo>
    {
        int Test_Record_Insert_Sensitivity(Test_RecordInfo tri);
        IList<Test_RecordInfo> Test_Record_GetSensitivity_bySN(string productSN);
        IList<Test_RecordInfo> Test_Record_GetSensitivity_byDT(DateTime startTime, DateTime stopTime);
        
        int Test_Record_Insert_OIP3(Test_RecordInfo tri);
        IList<Test_RecordInfo> Test_Record_GetOIP3_bySN(string productSN);
        IList<Test_RecordInfo> Test_Record_GetOIP3_byDT(DateTime startTime, DateTime stopTime);

        int Test_Record_Insert_VoltageCheck(Test_RecordInfo tri);
        IList<Test_RecordInfo> Test_Record_GetVoltageCheck_bySN(string productSN);
        IList<Test_RecordInfo> Test_Record_GetVoltageCheck_byDT(DateTime startTime, DateTime stopTime);

        int Test_Record_Insert_CurrentCheck(Test_RecordInfo tri);
        IList<Test_RecordInfo> Test_Record_GetCurrentCheck_bySN(string productSN);
        IList<Test_RecordInfo> Test_Record_GetCurrentCheck_byDT(DateTime startTime, DateTime stopTime);
    }
}
